export type locationType = {
  id: string,
  address: string
}

export type bannerType = Array<{
  id: string,
  imgUrl: string
}>

export type categoryType = Array<{
  id: string,
  name: string,
  imgUrl: string
}>

export type freshType = Array<{
  id: string,
  name: string,
  imgUrl: string,
  price: string
}>
// 返回内容类型
export type ResponseType = {
  success: boolean;
  data: {
    location: locationType,
    banners: bannerType,
    categories: categoryType,
    freshes: freshType
  }
}